package com.wanhai.itm.services;

import com.wanhai.itm.entity.User;

public abstract class UserInfoService {

    public static UserInfoService getDefaultService() {
        return new UserInfoServiceImpl();
    }

    /**
     * find user by account *
     */
    public abstract User findUser(String userid);

    /**
     * update user *
     */
    public abstract User updateUser(User user);
}
